﻿//============================================================
//author:zhxitao
//============================================================

using System;
using System.Collections.Generic;
using System.Text;

namespace Saker.Kernel.Model
{
    #region SysUser数据实体
	/// <summary>
	///SysUser数据实体
	/// </summary>
	[Serializable()]
	public class SysUser
	{
        #region 公共属性 自动生成
            ///<summary>
		    ///用户ID
		    ///</summary>
			public int UserID
			{
				get;
				set;
			}
            ///<summary>
		    ///用户名
		    ///</summary>
			public string UserName
			{
				get;
				set;
			}
            ///<summary>
		    ///密码
		    ///</summary>
			public string Password
			{
				get;
				set;
			}
            ///<summary>
		    ///姓名
		    ///</summary>
			public string RealName
			{
				get;
				set;
			}
            ///<summary>
		    ///问题
		    ///</summary>
			public string Question
			{
				get;
				set;
			}
            ///<summary>
		    ///答案
		    ///</summary>
			public string Answer
			{
				get;
				set;
			}
            ///<summary>
		    ///角色编号
		    ///</summary>
			public int RoleID
			{
				get;
				set;
			}
            ///<summary>
		    ///部门编号
		    ///</summary>
			public int? DepartID
			{
				get;
				set;
			}
            ///<summary>
		    ///用户组
		    ///</summary>
			public int UserGroup
			{
				get;
				set;
			}
            ///<summary>
		    ///创建时间
		    ///</summary>
			public DateTime CreateTime
			{
				get;
				set;
			}
            ///<summary>
		    ///最后登录时间
		    ///</summary>
			public DateTime? LastLoginTime
			{
				get;
				set;
			}
            ///<summary>
		    ///状态
		    ///</summary>
			public int Status
			{
				get;
				set;
			}
            ///<summary>
		    ///是否在线
		    ///</summary>
			public bool IsOnline
			{
				get;
				set;
			}
            ///<summary>
		    ///是否受限制
		    ///</summary>
			public bool IsLimit
			{
				get;
				set;
			}
        #endregion
	}
    #endregion
}
